package com.zmytest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created on 2019/1/28.
 *
 * @author zhangmingyu
 */
@RestController
public class MyController {

    @GetMapping("/index")
    public ModelAndView index(){
        return new ModelAndView("index");
    }
}
